Crate rustc_ap_rustc_lint_defs[][src]

Re-exports

pub use self::Level::*;

Modules

builtin

Some lints that are built in to the compiler.

Macros

declare_lint

Declares a static item of type &'static Lint.

declare_lint_pass

Declares a type named $name which implements LintPass. To the right of => a comma separated list of Lint statics is given.

declare_tool_lint
impl_lint_pass

Implements LintPass for $ty with the given list of Lint statics.

lint_array

Declares a static LintArray and return it as an expression.

pluralize

Structs

BufferedEarlyLint

Lints that are buffered up early on in the Session before the LintLevels is calculated.

FutureBreakage
FutureIncompatibleInfo

Extra information for a future incompatibility lint.

Lint

Specification of a single lint.

LintBuffer
LintId

Identifies a lint known to the compiler.

Enums

Applicability

Indicates the confidence in the correctness of a suggestion.

BuiltinLintDiagnostics
ExternDepSpec
Level

Setting for how to handle a lint.

Traits

LintPass

Type Definitions

LintArray